<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
  </head>
  <body>
    <script type="text/javascript">
      //模拟Vue.extend
      const Vue = {
        extend() {
          function VueComponent() {}
          return VueComponent
        },
      }
      const School = Vue.extend()
      const s = new School()
      console.log(s)
    </script>
  </body>
</html>
